package com.nai365.nart.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel("发送手机短信验证码")
@Data
@Builder
public class SmsDto {
	@ApiModelProperty(value = "手机号码")
	@NotBlank(message = "手机号码不能为空")
	private String phoneNumber;

	@NotBlank(message = "验证码不能为空")
	@ApiModelProperty(value = "验证码")
	private String code;

	@NotBlank(message = "无感验证token不能为空")
	@ApiModelProperty(value = "无感验证token")
	private String captchaToken;
}
